import 'package:dk_flutter_base/dk_ui.dart';
import 'package:dk_flutter_module_sale/phoenix/my_setting/widget/widget_section.dart';
import 'package:dk_flutter_module_sale/sale/sale_in/following_record/bean/following_detail_bean.dart';

class OnlyTextWidget extends StatelessWidget {
  final RecordDetailBean detailBean;
  OnlyTextWidget({this.detailBean});
  @override
  Widget build(BuildContext context) {
    return Column(
      children: <Widget>[
        SectionWidget(
          title: this.detailBean.title,
          bottomLineHidden: false,
        ),
        SectionWidget(
          title: this.detailBean.answer,
          bottomLineHidden: true,
        ),
        Container(
          height: 10,
          color: Color(0xFFF7F8F9),
        )
      ],
    );
  }
}
